﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC25Controller
    /// </summary>
    public class VYC25Controller
    {
        private static VYC25BO _vyc25Bo;
        public VYC25Controller()
        {
            _vyc25Bo = new VYC25BO();
        }
        public List<ModelVYC25> GetAllList()
        {
            return _vyc25Bo.GetAllList();
        }
        public int AddData(ModelVYC25 model)
        {
            return _vyc25Bo.AddData(model);
        }
        public int EditData(ModelVYC25 model)
        {
            return _vyc25Bo.EditData(model);
        }
        public int DeleteData(ModelVYC25 model)
        {
            return _vyc25Bo.DeleteData(model);
        }
        public List<ModelVYC25> GetById(int id)
        {
            return _vyc25Bo.GetById(id);
        }
        public List<ModelVYC25> GetByIdTour(string idtour)
        {
            return _vyc25Bo.GetByIdTour(idtour);
        }
    }
}